package org.example.emp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.example.emp.dto.DepartmentDto;
import org.example.emp.pojo.Department;

@Mapper
public interface DepartmentMapper extends BaseMapper<Department> {
    DepartmentDto getDepartmentAndEmployeeById(Integer id);
    int updateDepartmentById(Department department);
}
